package com.modbus.tool.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.modbus.tool.entity.po.Device;

import java.util.List;

import com.modbus.tool.common.Result;


/**
 * @Author: Leno
 * @Date: 2025-08-07
 * @Description: IDeviceService
 */
public interface IDeviceService extends IService<Device> {

    Result<Page<Device>> findPage(Integer pageNum, Integer pageSize, Device device);

    Result<String> deleteBatch(List<Long> ids);

    Boolean addOrUpdate(Device device);
}

